# AUTHOR: DING
# -*- codeing = utf-8 -*-
# @Time: 2024/2/23 17:16
# @Author: 86139
# @Site: 
# @File: 14-relu.py
# @Software: PyCharm
# tensorboard --logdir=pytorch/logs --port=6007

import torch
from torch.nn import ReLU

input = torch.Tensor([[1, -0.5], [-1, 3]])
input = torch.reshape(input, (-1, 1, 2, 2))

relu1 = ReLU()
output = relu1(input)
print(output)